<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta charset="utf-8" />
    <title>公众号列表{:config('APP_NAME')}</title>

    <meta name="description" content="overview &amp; stats" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />

    <!-- bootstrap & fontawesome -->
    <link rel="stylesheet" href="__PUBLIC__/static/css/bootstrap.min.css" />
    <link rel="stylesheet" href="__PUBLIC__/static/css/font-awesome.min.css" />

    <!-- page specific plugin styles -->

    <!-- text fonts -->


    <!-- ace styles -->
    <link rel="stylesheet" href="__PUBLIC__/static/css/ace.min.css" />

    <!--[if lte IE 9]>
    <link rel="stylesheet" href="__PUBLIC__/static/css/ace-part2.min.css" />
    <![endif]-->
    <link rel="stylesheet" href="__PUBLIC__/static/css/ace-skins.min.css" />
    <link rel="stylesheet" href="__PUBLIC__/static/css/ace-rtl.min.css" />

    <!--[if lte IE 9]>
    <link rel="stylesheet" href="__PUBLIC__/static/css/ace-ie.min.css" />
    <![endif]-->

    <!-- inline styles related to this page -->

    <!-- ace settings handler -->
    <script src="__PUBLIC__/static/js/ace-extra.min.js"></script>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

    <!--[if lte IE 8]>
    <script src="__PUBLIC__/static/js/html5shiv.js"></script>
    <script src="__PUBLIC__/static/js/respond.min.js"></script>
    <![endif]-->
</head>

<body class="no-skin">
{include file="common/header"}
<div class="main-container" id="main-container">
    <script type="text/javascript">
        try{ace.settings.check('main-container' , 'fixed')}catch(e){}
    </script>

    {include file="common/left"}
    <div class="main-content">
        <div class="breadcrumbs  breadcrumbs-fixed" id="breadcrumbs">
            <script type="text/javascript">
                try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){}
            </script>

            <ul class="breadcrumb">
                <li>
                    <i class="ace-icon fa fa-home home-icon"></i>
                    <a href="#">公众号管理</a>
                </li>
                <li class="active">公众号列表</li>
            </ul><!-- /.breadcrumb -->
        </div>

        <div class="page-content">
          <div class="row">
                <div class="col-xs-12">
                    <div class="clearfix">
                        <div class="pull-right btn-group">
                            <a href="{:url('apps/step_01?action=add')}" class="btn btn-success btn-sm">
                                <i class="fa fa-plus"></i>
                                新增公众号</a>
                        </div>
                    </div>
                    <div class="space-2"></div>
                    <!-- PAGE CONTENT BEGINS -->
                    <table id="sample-table-1" class="table table-striped table-bordered table-hover">
                        <thead>
                        <tr>
                            <th class="center">
                                公众号ID
                            </th>
                            <th>公众号名称</th>
                            <th>原始ID</th>
                            <th>AppID</th>
                            <th>操作</th>
                        </tr>
                        </thead>

                        {volist name="lists" id="item" empty="$empty"}
                        <tr>
                            <td class="center">{$item.id}</td>
                            <td>{$item.public_name}</td>
                            <td>{$item.public_id}</td>
                            <td>{$item.appid}</td>
                            <td class="center">
                                <div class="btn-group">
                                    <button class="btn btn-xs btn-warning">
                                        <i class="ace-icon fa fa-check bigger-120"></i> 进入管理
                                    </button>
                                    <a class="btn btn-xs btn-info" href="step_01?action=edit&pid={$item.id}">
                                        <i class="ace-icon fa fa-pencil bigger-120"></i> 编辑
                                    </a>
                                    <button class="btn btn-xs btn-danger">
                                        <i class="ace-icon fa fa-trash-o bigger-120"></i> 删除
                                    </button>
                                    <button class="btn btn-xs btn-success">
                                        <i class="ace-icon fa fa-wechat bigger-120"></i> 微信支付
                                    </button>
                                </div>
                            </td>
                        </tr>
                        {/volist}

                    </table>
                    <!-- PAGE CONTENT ENDS -->
                </div><!-- /.col -->
                <div class="space-6"></div>

            </div><!-- /.row -->
        </div><!-- /.page-content -->
    </div><!-- /.main-content -->

    {include file="common/footer"}

    <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
        <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
    </a>
</div><!-- /.main-container -->

<!-- basic scripts -->
{include file="common/base_js"}
<!-- inline scripts related to this page -->
<script type="text/javascript">
    jQuery(function($) {


    })
</script>
</body>
</html>
